<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
    <div class="snake-wrap">
        <div class="info-bd">
            <div class="info-item">
                得分：<span class="score">0</span>分
            </div>
            <div class="info-item">
                用时：<span class="second">0</span>秒
            </div>
        </div>
        <div class="game-bd">
            <canvas id="gameCan" width="600" height="600"></canvas>
        </div>
        <div class="btn-group">
            <div class="btn">
                <button class="j-start">开始</button>
            </div>
            <div class="btn">
                <button class="j-pause">暂停</button>
            </div>
            <div class="btn">
                <button class="j-reset">重置</button>
            </div>
        </div>
    </div>


    <script type="text/javascript" src="./js/index.js"></script>
</body>
</html>